<!DOCTYPE html>
<html>
<head>
<title>任务调度</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
	name="viewport">
<link href="../vendors/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="../vendors/font-awesome/css/font-awesome.min.css"
	rel="stylesheet">
<link href="../vendors/animate/css/animate.css" rel="stylesheet">
<link href="../vendors/iCheck/custom.css" rel="stylesheet">
<link href="../vendors/datepicker/datepicker3.css" rel="stylesheet">
<!-- jqgrid-->
<link href="../vendors/jqgrid/css/ui.jqgrid-bootstrap.css"
	rel="stylesheet">
<!-- Sweet Alert -->
<link href="../vendors/sweetalert/sweetalert.css" rel="stylesheet">
<link href="../common/css/style.css" rel="stylesheet">
<link href="../vendors/Validform_v5.3.2/css/style.css" rel="stylesheet">
<!-- 由于使用了自定义标签，jquery必须在之前 -->
<!-- 全局js -->
<script src="../vendors/jquery/js/jquery.min.js"></script>
<script src="../vendors/bootstrap/js/bootstrap.min.js"></script>
<!-- jqGrid -->
<script src="../vendors/jqgrid/js/i18n/grid.locale-cn.js"></script>
<script src="../vendors/jqgrid/js/jquery.jqGrid.min.js"></script>
<script src="../vendors/jqgrid/plugins/jquery.tablednd.js"></script>
<script src="../vendors/vue/vue.min.js"></script>
<script src="../vendors/Validform_v5.3.2/js/Validform_v5.3.2_min.js"></script>
<!-- iCheck -->
<script src="../vendors/iCheck/icheck.min.js"></script>
<!-- Sweet alert -->
<script src="../common/js/curdtools_jqgrid.js"></script>
<script src="../vendors/layer/layer.min.js"></script>
<script src="../common/js/common.js"></script>
</head>
<body class="gray-bg">
	<div id="rrapp" v-cloak>
		<div class="wrapper wrapper-content animated fadeInRight">
			<div class="row">
				<div class="col-sm-12">
					<div class="ibox float-e-margins">
						<div class="ibox-title">
							<h5>调度任务管理</h5>
							<div class="ibox-tools">
								<a class="collapse-link"> <i class="fa fa-chevron-up"></i>
								</a> <a class="close-link"> <i class="fa fa-times"></i>
								</a>
							</div>
						</div>
						<div class="ibox-content">
							<div>
								<!-- 查询条件 -->
								<div class="row">
									<div id="sysJobQuery" class="col-sm-12">
										<div class="form-inline">
												<label class="control-label">调度器名称：</label> 
												<input type="text" v-model="q.jobName" name='jobName' id='jobName' class='form-control' />
												<label class="control-label">分组：</label> 
												<input type="text" v-model="q.jobGroup" name='jobGroup' id='jobGroup' class='form-control' />
											</div>
										</div>
									</div>
									<br />
								</div>
							</div>
							<br />
							<!-- 工具栏 -->
							<div class="row" v-show="showList">
								<div class="col-sm-12">
									<div class="pull-left">
										<a class="btn btn-primary" @click="add"><i
											class="fa fa-plus"></i>&nbsp;新增</a> <a class="btn btn-primary"
											@click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
										<a class="btn btn-primary" @click="del"><i
											class="fa fa-trash-o"></i>&nbsp;删除</a>
										<a class="btn btn-primary" @click="del"><i
											class="fa fa-trash-o"></i>&nbsp;更新时间</a>
										<a class="btn btn-primary" @click="del"><i
											class="fa fa-trash-o"></i>&nbsp;暂停</a>
										<a class="btn btn-primary" @click="del"><i
											class="fa fa-trash-o"></i>&nbsp;恢复</a>
										<a class="btn btn-primary" @click="del"><i
											class="fa fa-trash-o"></i>&nbsp;取消</a>
										<a class="btn btn-primary" @click="del"><i
											class="fa fa-trash-o"></i>&nbsp;运行一次</a>
										<a class="btn btn-primary" @click="push"><i
											class="fa fa-trash-o"></i>&nbsp;发布调度</a>																																																									
									</div>
									<div class="pull-right">
										<a class="btn btn-info" @click="query">查询</a> <a
											class="btn btn-warning" @click="reset"><i
											class="fa fa-file-code-o"></i>&nbsp;从置</a>
									</div>
								</div>
							</div>
							<div class="jqGrid_wrapper">
								<table id="jqGrid"></table>
								<div id="jqGridPager"></div>
							</div>

						</div>
					</div>
				</div>
			</div>
		</div>
		<div id="winContent"
			style="display: none; margin: 5px 5px 5px 5px; width: 780px;">
			<form class="form-horizontal" id="sysJobForm" name="sysJobForm">
				<div class="form-group">
					<div class="col-sm-2 control-label">调度器名称</div>
					<div class="col-sm-10">
						<input type="text" placeholder="调度器名称" name='jobName' id='jobName'
							v-model="sysJob.jobName" class='form-control' /> <label
							class="Validform_checktip"></label>
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-2 control-label">分组</div>
					<div class="col-sm-10">
						<input type="text" placeholder="分组" name='jobGroup' id='jobGroup'
							v-model="sysJob.jobGroup" class='form-control' /> <label
							class="Validform_checktip"></label>
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-2 control-label">状态</div>
					<div class="col-sm-10">
						<input type="text" placeholder="状态" name='jobStatus'
							id='jobStatus' v-model="sysJob.jobStatus" class='form-control' />
						<label class="Validform_checktip"></label>
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-2 control-label">表达式</div>
					<div class="col-sm-10">
						<input type="text" placeholder="表达式" name='cronExpression'
							id='cronExpression' v-model="sysJob.cronExpression"
							class='form-control' /> <label class="Validform_checktip"></label>
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-2 control-label">类的路径</div>
					<div class="col-sm-10">
						<input type="text" placeholder="类的路径" name='beanClass'
							id='beanClass' v-model="sysJob.beanClass" class='form-control' />
						<label class="Validform_checktip"></label>
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-2 control-label">描述</div>
					<div class="col-sm-10">
						<input type="text" placeholder="描述" name='description'
							id='description' v-model="sysJob.description"
							class='form-control' /> <label class="Validform_checktip"></label>
					</div>
				</div>
			</form>
		</div>
	</div>
	<script src="../public/js/SysJob/sysjob.js"></script>
</body>
</html>